.Checkbox {
  align-items: center;
  display: flex;
}

.CheckboxInput {
  height: 0;
  opacity: 0;
  width: 0;
}

.CheckboxCheck {
  box-shadow: inset 0 0 0 1px var(--gray);
  background-color: transparent;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
}

.CheckboxText {
  color: var(--txt-2);
  margin-left: 4px;
}

.CheckboxInput:checked ~ .CheckboxCheck {
  box-shadow: inset 0 0 0 1px var(--primary);
}

.CheckboxInput:checked ~ .CheckboxCheck::after {
  background-color: var(--primary);
  border-radius: 2px;
  content: '';
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
}
